
package com.sino.tb.resource.inspect.entity;

/**
 * Title:
 *
 * Copyright
 *
 * @author Tony Zeng(zeng_shengb0@163.com)
 * @version
 *
 * created on 2005-8-1 10:22:44
 *
 * modify on :
 *
 * note:
 */

public class InvoiceStateResource extends InspectDataResource {

    public InvoiceStateResource() {
        super();
    }

    protected void initialize() {
        String straFields[] = { "C_SEQ", "C_INVOICECODE", "C_CODE",
                "C_DEPTORG_ID", "C_REQ_SEQ", "C_RSP_SEQ", "C_INVOICEFLAG",
                "C_REASONFLAG", "C_BOXNO", "C_AREA_ID", "C_SYS_FLAG",
                "C_CREATER", "C_CREATE_TIME", "C_MODIFIER", "C_MODIFY_TIME",
                "C_NOTES", "C_WAREHOUSE_SEQ", "C_EXISTFLAG", "C_CANCELFLAG",
                "C_YEAR", "C_QUARTER" };

        this.setDBSourceType(InspectDataResource.DATA_SOURCE_DB_TABLE);
        this.setHandleMode(InspectDataResource.HANDLE_MODE_SELECT);
        this.setListFields(straFields);
        this.setTableName("t_invoice_state");
        this.setTableID("_700004");
        this.setObjSeqName("SEQ_700004");
        this.setOrder(" order by c_seq ");
        // this.setWhere(" where c_seq>123304 ");
        this.setKeyCol("C_INVOICECODE");

    }
}
